package org.jeecg.modules.online.desform.vo.es;

import lombok.Data;
import org.jeecg.modules.online.desform.constant.EsTypes;

/**
 * ElasticSearch 字段属性
 */
@Data
public class EsProperties {

    private EsTypes type;

    public void setType(String type) {
        this.type = EsTypes.getByValue(type);
    }

    public void setType(EsTypes type) {
        this.type = type;
    }

}
